@charset "utf-8";
/* CSS Document */

body {
    margin: 0px;
    background-image:url(warrior.png);
    background-size:cover;     
    font-style:italic;
    color:#470000;
    font-family:"Palatino Linotype", "Book Antiqua", Palatino, serif;
}

.container {
    width: 1000px;
    height: 785px;
    /*i margini auto (insieme a una larghezza)
      centrano la pagina se necessario */
    margin: 0 auto;	
}

.header {
    width: 100%; 
    height: 10%;
    background-image:url(index.jpeg);
    background-size:cover;
    background-position:center;
    border-radius: 5px;
    /*text-align: center;*/
    float: none;
}

.sub-header-lateral {
    width: 20%; 
    height: 100%;
    text-align: center;
    float:left;
}

.sub-header-center {
    width: 60%; 
    height: 100%;
    text-align: center;
    float:left;
}

.left {
    text-align: center;
    width: 10%;
    height: 70%;
    float: left;
}

.main-content {
    color:#CCC;
    width: 80%;
    height: 70%;
    float: left;
}

.resource {
    background-color:#470000;
    width: 100%;
    height: 5%;
    float: none;
    border-left: 5px solid #6e0c03; 
    border-right: 5px solid #6e0c03;
    border-top:5px solid #6e0c03;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.map {	
    background-image: url(town.jpg);
    background-size:cover;
    width: 800px;
    height: 494px;
    float: none;
    border-left: 5px solid #6e0c03; 
    border-right: 5px solid #6e0c03;
    border-bottom:5px solid #6e0c03;	
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.img{
    background-repeat:no-repeat;
    background-size:contain;
    position:absolute;
}

.img:hover{
    border: 2px solid #6e0c03;
    border-radius: 60px; 
}

.sub-content{
    border: 5px solid #6e0c03;
    border-radius: 10px;
    width: 100%;
    height: 95%;
    float: none;
    text-align: center;
}

.right {
    text-align: center;
    width: 10%;
    height: 70%;
    float: left;

}

.footer {
    background-color:#470000;
    border: 1px solid #6e0c03;
    width:100%;
    height:4%;
    border-radius: 5px;
    /*height:50px;*/
    clear: left;

}

.drawft {
    position: absolute;
    z-index:2;
    left:500px;
    top:300px;
}

ul.mymenu{
    background-color:transparent;
    width:100%;
    height:100%;
    display:block !important;
    /*margin-left:7px; /* a che servono? */
    /*margin-top:-17px; /* a che servono? */
    line-height:26px;
}

ul.mymenu, ul.mymenu ul li{
    margin:0;
    padding:0;
    list-style-type:none
}

ul.mymenu a{
    display:block;
    padding: 0 15px;
    text-decoration: none;
    color:#470000;
}

ul.mymenu li{
    float: none;
    position: relative;
}

ul.mymenu li li{
    /*lista del menu */
    float: none;
    line-height: 22px;
    width:200px;
    display:block !important;
    display: inline;
}

ul.mymenu ul{ 
    /*sottomenu posizionamento ,colore background*/
    position: absolute;
    top: 25px;
    left: -9999px;
    width: 12em;
    background-color:#e9dfc2;  
}

ul.mymenu ul{
    /* margini e grandezza bordi menu */
    padding: 7px 0;
    border: 1px solid #CCCCCC;
    border-radius: 10px;
    width:200px;
}

ul.mymenu ul,ul.mymenu li li a{ 
    /*sottomenu cambio colore font*/
    color:#470000;
}

/*ul.mymenu li:hover,*/ ul.mymenu a:hover{ 
    /* passaggio mouse cambi colori*/
    background-color:#4d3a2e;
    color:#C7B7B0;
}

ul.mymenu li:hover ul, ul.mymenu li.sfhover ul{
    /*sottomenu shifting posizionamento*/
    left: 50px;
    z-index: 100;
}

.inputtext {
    border-radius: 20px;
    border: 2px solid #CCCCCC; 
}

.submit {
    height: 25px;              
    width: 80px;
    background-color:#470000;
    border: 2px solid #470000; 
    border-radius: 5px;
    color:#CCC;               
    font-style:italic;                      

}

.submit:hover{

    border: 2px solid #4d3a2e; 
}

a:link {
    color: red;
}
a:active {
    color: black;
}
a:hover {
    color: yellow;
}
